From: Richard M. Stallman Date: Sun, 9 May 1993 14:29:33 +0000 (+0000) Subject: (vc-backend-diff): Handle either string or list. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96354 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=4c2c1de1fdfcc2ea868df0fb9f3843efe5cf4267;p=emacs.git (vc-backend-diff): Handle either string or list. --- diff --git a/lisp/vc.el b/lisp/vc.el index b76fc7de31d..67c10a2713e 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -1487,7 +1487,9 @@ Return nil if there is no such person." file (and oldvers (concat "-r" oldvers)) (and newvers (concat "-r" newvers)) - diff-switches + (if (listp diff-switches) + diff-switches + (list diff-switches)) )) (defun vc-check-headers ()